function User() {
  let fans = 0;
  this.getFans = () => {
    return fans;
  };
  this.addFans = () => {
    fans++;
  };
}

let jimmy = new User();
console.log(jimmy.fans); // undefined
jimmy.getFans(); // 0
